home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / Sample Code / Sample Editors⁄Viewers / Text Editor / Source / TextEditorPrefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-13  |  920 b   |  35 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        TextEditorPrefs.h
  3.  
  4.     Contains:    TextEditor Preference dialog functions
  5.  
  6.     Written by:    Steve Smith
  7.  
  8.     Copyright:    © 1994 - 1995 by Apple Computer, Inc., all rights reserved.
  9. */
  10.  
  11. #ifndef _TEXTEDITORPREFS_
  12. #define _TEXTEDITORPREFS_
  13.  
  14. #ifndef __FILES__
  15. #include <Files.h>
  16. #endif
  17.  
  18. // --- OpenDoc Includes ---
  19.  
  20. #ifndef _ODTYPES_
  21. #include <ODTypes.h>
  22. #endif
  23.  
  24. #ifndef SOM_ODStorageUnit_xh
  25. #include <StorageU.xh>
  26. #endif
  27.  
  28. void        ModalPreferencesDialog(Environment* ev, ODFrame* frame);
  29. void        GetPreferences(Environment* ev, FSSpec* prefFile, ODBoolean* newFile);
  30. ODBoolean    GetPrefStorageUnit(Environment* ev, ODSession* session, ODStorageUnit** prefSU);
  31. void        ReadPreferences(Environment* ev, ODSession* session, StringPtr fontName, ODUShort* fontSize);
  32. void        WritePreferences(Environment* ev, ODSession* session, StringPtr fontName, ODUShort* fontSize);
  33. void        ClosePreferences(Environment* ev, ODStorageUnit* prefSU);
  34.  
  35. #endif